package com.leyou.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * @author wgc
 * @create 2019-03-31 14:51
 */
@EnableZuulProxy
@SpringCloudApplication
public class LyApiGatewayApplication {

    public static void main(String[] args) {
        System.out.println("**********网关开始启动************");
        SpringApplication.run(LyApiGatewayApplication.class,args);
        System.out.println("**********网关开始启动 successfull************");

    }
}
